home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / embperl.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  1KB  |  52 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  4.  
  5. <!--
  6. catalog entry:
  7.  
  8. <MODE NAME="embperl"        FILE="embperl.xml"
  9.                 FILE_NAME_GLOB="*.epl"/>
  10.  
  11. sidekick parser entry:
  12. mode.embperl.sidekick.parser=html
  13.  
  14. xml completion entry:
  15. mode.embperl.xml.completion-info=jeditresource:/XML.jar!/xml/completion/html-complete.xml
  16. -->
  17.  
  18. <MODE>
  19.     <PROPS>
  20.         <PROPERTY NAME="commentStart" VALUE="<!--" />
  21.         <PROPERTY NAME="commentEnd" VALUE="-->" />
  22.     </PROPS>
  23.     <RULES IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="FALSE">
  24.         <SPAN TYPE="COMMENT2">
  25.             <BEGIN>[#</BEGIN>
  26.             <END>#]</END>
  27.         </SPAN>
  28.         <!-- output result -->
  29.         <SPAN DELEGATE="perl::MAIN" TYPE="LITERAL3">
  30.             <BEGIN>[+</BEGIN>
  31.             <END>+]</END>
  32.         </SPAN>
  33.         <!-- execute code -->
  34.         <SPAN DELEGATE="perl::MAIN" TYPE="LITERAL3">
  35.             <BEGIN>[-</BEGIN>
  36.             <END>-]</END>
  37.         </SPAN>
  38.         <!-- control flow -->
  39.         <SPAN DELEGATE="perl::MAIN" TYPE="LITERAL3">
  40.             <BEGIN>[$</BEGIN>
  41.             <END>$]</END>
  42.         </SPAN>
  43.         <!-- execute once -->
  44.         <SPAN DELEGATE="perl::MAIN" TYPE="LITERAL3">
  45.             <BEGIN>[!</BEGIN>
  46.             <END>!]</END>
  47.         </SPAN>
  48.         <IMPORT DELEGATE="html::MAIN"/>
  49.     </RULES>
  50. </MODE>
  51.  
  52.